<template>
  <div>
    <s-collapse :selected.sync="selected" single>
      <s-collapse-item title="标题1" name="1">1</s-collapse-item>
      <s-collapse-item title="标题2" name="2">2</s-collapse-item>
      <s-collapse-item title="标题3" name="3">3</s-collapse-item>
    </s-collapse>
  </div>
</template>
<script>
  import Collapse from '../../../src/components/Collapse'
  import CollapseItem from '../../../src/components/Collapse-item'
  export default {
    components:{ 's-collapse': Collapse, 's-collapse-item': CollapseItem, },
    data(){ return{ selected : ['1'] } },
  }
</script>